<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <meta charset="utf-8">
    <title>麒麟</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Access-Control-Allow-Origin" content="*">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" type="image/x-icon" href="favicon.ico">

    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}" media="all"/>
    <link rel="stylesheet" th:href="@{/static/layui/css/bootstrap.min.css}" media="all"/>
    <link rel="stylesheet" th:href="@{/static/layui/css/bootstrap-table.css}" media="all"/>
    <link rel="stylesheet" href="//at.alicdn.com/t/font_tnyc012u2rlwstt9.css" media="all"/>
    <link rel="stylesheet" th:href="@{/static/admin/css/main.css}" media="all"/>
    <link href="https://cdn.bootcss.com/multiple-select/1.2.0/multiple-select.min.css" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/static/admin/css/bootstrap-select.css}" media="all"/>


    <style>
        fieldset {
            padding: .35em .625em .75em;
            margin: 0 2px;
            border: 1px solid silver;
        }

        legend {
            border: 0;
            width: auto;
            margin-bottom: 0px;
            padding: -0.5em;
        }

        .radio-inline {
            padding-left: 15px;
        }

        #refreash_data {
            transform: scale(0);
            width: 1px
        }

        #refreash_five_three {
            transform: scale(0);
            width: 1px
        }


    </style>
</head>
<body>
<div class="layui-layout layui-layout-admin">
    <!-- 顶部 -->
    <div class="layui-header header">
        <div class="layui-main">

            <!-- 显示/隐藏菜单 -->
            <!--            <div class="weather" pc>-->
            <!--                <div id="tp-weather-widget"></div>-->
            <!--                <script>(function (T, h, i, n, k, P, a, g, e) {-->
            <!--                    g = function () {-->
            <!--                        P = h.createElement(i);-->
            <!--                        a = h.getElementsByTagName(i)[0];-->
            <!--                        P.src = k;-->
            <!--                        P.charset = "utf-8";-->
            <!--                        P.async = 1;-->
            <!--                        a.parentNode.insertBefore(P, a)-->
            <!--                    };-->
            <!--                    T["ThinkPageWeatherWidgetObject"] = n;-->
            <!--                    T[n] || (T[n] = function () {-->
            <!--                        (T[n].q = T[n].q || []).push(arguments)-->
            <!--                    });-->
            <!--                    T[n].l = +new Date();-->
            <!--                    if (T.attachEvent) {-->
            <!--                        T.attachEvent("onload", g)-->
            <!--                    } else {-->
            <!--                        T.addEventListener("load", g, false)-->
            <!--                    }-->
            <!--                }(window, document, "script", "tpwidget", "//widget.seniverse.com/widget/chameleon.js"))</script>-->
            <!--                <script>tpwidget("init", {-->
            <!--                    "flavor": "slim",-->
            <!--                    "location": "WX4FBXXFKE4F",-->
            <!--                    "geolocation": "enabled",-->
            <!--                    "language": "zh-chs",-->
            <!--                    "unit": "c",-->
            <!--                    "theme": "chameleon",-->
            <!--                    "container": "tp-weather-widget",-->
            <!--                    "bubble": "disabled",-->
            <!--                    "alarmType": "badge",-->
            <!--                    "color": "#FFFFFF",-->
            <!--                    "uid": "U9EC08A15F",-->
            <!--                    "hash": "039da28f5581f4bcb5c799fb4cdfb673"-->
            <!--                });-->
            <!--                tpwidget("show");</script>-->
            <!--            </div>-->
            <!-- 顶部右侧菜单 -->
            <ul class="layui-nav top_menu">
                <shiro:user>
                    <li class="layui-nav-item" mobile>
                        <a href="javascript:" class="mobileAddTab" data-url="/admin/system/user/changePwd">
                            <i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>设置</cite></a>
                    </li>
                </shiro:user>
                <li class="layui-nav-item" mobile>
                    <a th:href="@{/systemLogout}" class="signOut"><i class="iconfont icon-loginout"></i> 退出</a>
                </li>

                <li class="layui-nav-item" pc>
                    <a href="javascript:">

                        <img th:src="${session.icon}" class="layui-circle" width="35" height="35">
                        <cite>
                            <shiro:principal property="nickName"/>
                        </cite>
                        <span class="layui-nav-more"></span>
                    </a>

                    <dl class="layui-nav-child">
                        <!--<shiro:user>
                            &lt;!&ndash;管理员增加新增用户功能。增加修改密码功能。 弹窗形式&ndash;&gt;
                        <dd><a href="javascript:" data-url="/admin/system/user/changePassword">
                        <i class="iconfont icon-shezhi1" data-icon="icon-shezhi1"></i><cite>新增用户</cite></a></dd>
                        </shiro:user>-->
                        <dd th:if=" ${curuser.id} eq '1'"><a href="javascript:" class="manageUser"><i
                                class="layui-icon layui-icon-username"></i><cite>用户管理</cite></a></dd>
                        <dd th:if=" ${curuser.id} eq '1'"><a href="javascript:" class="addUser"><i
                                class="layui-icon layui-icon-add-circle"></i><cite>新增用户</cite></a></dd>
                        <dd><a href="javascript:" class="alterPass"><i
                                class="layui-icon layui-icon-edit"></i><cite>修改密码</cite></a></dd>
                        <dd><a href="javascript:" class="changeSkin"><i
                                class="iconfont icon-huanfu"></i><cite>更换皮肤</cite></a></dd>
                        <dd><a th:href="@{/systemLogout}" class="signOut"><i
                                class="iconfont icon-loginout"></i><cite>退出</cite></a></dd>

                    </dl>
                </li>

            </ul>
        </div>
    </div>
    <!-- 左侧导航 -->
    <!-- 右侧内容 -->


</div>

<div class="content" ng-app="myApp" ng-controller="myCtrl">
    <div class="myheader">
        <!--<div class="div1">-->
        <!--</div>-->
        <div class="container-fluid">

            <div class="row head-desc" style="background: #00B050">
                <div class="col-md-2 term" style="font-size: 20px;">
                    <span>第
                        <span id="term-no-five">[[${termInfoFive.termNo}]]</span>期
                    </span>
                </div>


                <div class="col-md-2 term-no">
                    <div class="head-term-top">
                        <div class="term-circle">
								<span class="out-circle">
									<span class="num-circle" id="prize_data_five_01">
										[[${termInfoFive.prizeNo01}]]
										</span>
								</span>
                        </div>
                        <div class="term-circle">
								<span class="out-circle">
									<span class="num-circle" id="prize_data_five_02">
										[[${termInfoFive.prizeNo02}]]
										</span>
								</span>
                        </div>
                        <div class="term-circle">
								<span class="out-circle">
									<span class="num-circle" id="prize_data_five_03">
										[[${termInfoFive.prizeNo03}]]
                                    </span>
								</span>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 term">
                    <div style="text-align: left;">
                                 <span style="font-size: 16px;color:white;" id="prize_data_five_time">
                             [[${termInfoFive.openTimeFormat}]]
                            </span>
                    </div>
                </div>
                <div class="col-md-4 term" style="color:blue;font-size: 12px;">

                    <button class="btn btn-primary" id="handInputBtn">手动输入</button>
                    <!--  <span style="background:#8fb1e6;color:white;">手动输入</span>-->
                    <input type="checkbox" disabled id="handSwitchBtn" name="xxx" lay-skin="switch">
                    <input type="text" name="title" id="inputNumStrs"
                           placeholder="请输入逗号分隔的数字"
                           style="display: inline-block;width: 150px;height: 25px;">
                    <button class="btn btn-primary" id="inputNumBtn">确定</button>
                </div>
            </div>

        </div>
    </div>


    <!-- 主数据区域 -->
    <div class="container-fluid term-main">
        <div class="row">
            <div class="col-md-1 desc main_left">

                <div class="combination-top">
                    <span id="combination-count-five"></span><span>注</span>
                </div>
                <div class="table-responsive"
                     style="height: 600px;overflow-y: scroll;border: 2px solid grey;">
                    <table id="cb-table-five" class="table table-borderless">

                    </table>
                </div>


                <div id="copy_btn2" style="width: 100%;text-align: center;padding: 10px;">
                    <button type="button" style="border-color: #00B050;background-color: #00B050;"
                            class="btn btn-primary" id="copyLeft">复制
                    </button>
                </div>

            </div>
            <div class="col-md-11">

                <div style="height: 700px;">
                    <div class="fc-table-div" id="fc-grid-table-div">

                        <!--数据表格 &#45;&#45;start-->
                        <div class="content1">
                            <table class="table table-bordered fc-table-grid" table border="1" cellspacing="0">
                                <tr class="head-bg-color">
                                    <td rowspan="2">期号</td>
                                    <td rowspan="2" colspan="3">开奖号码</td>
                                    <td colspan="10">胆码分布</td>
                                    <td colspan="10">第一位代码</td>
                                    <td colspan="2">形态<br>统计</td>
                                    <td colspan="10">第二位代码</td>
                                    <td colspan="2">形态<br>统计</td>
                                    <td colspan="10">第三位代码</td>
                                    <td colspan="2">形态<br>统计</td>
                                </tr>
                                <tr class="head-bg-color" style="">

                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>


                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>

                                    <td></td>
                                    <td></td>

                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>

                                    <td></td>
                                    <td></td>

                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                    <td></td>
                                    <td></td>

                                </tr>
                                <tr th:each="re:${lists}">
                                    <td class="term-bg-color" style="white-space: nowrap;" th:text="${re.termNo}"></td>
                                    <td th:text="${re.prizeNo01}"></td>
                                    <td th:text="${re.prizeNo02}"></td>
                                    <td th:text="${re.prizeNo03}"></td>
                                    <!--TODO 改成循环-->

                                    <!-- <td class="tb-trend-bg-black"  th:text="${re.dammaValueArr[0].substring(3)}"
                                         th:classappend="${re.dammaValueArr[0].substring(0,2)}"></td>-->

                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[0].substring(3)}"
                                        th:classappend="${re.dammaValueArr[0].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[1].substring(3)}"
                                        th:classappend="${re.dammaValueArr[1].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[2].substring(3)}"
                                        th:classappend="${re.dammaValueArr[2].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[3].substring(3)}"
                                        th:classappend="${re.dammaValueArr[3].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[4].substring(3)}"
                                        th:classappend="${re.dammaValueArr[4].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[5].substring(3)}"
                                        th:classappend="${re.dammaValueArr[5].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[6].substring(3)}"
                                        th:classappend="${re.dammaValueArr[6].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[7].substring(3)}"
                                        th:classappend="${re.dammaValueArr[7].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[8].substring(3)}"
                                        th:classappend="${re.dammaValueArr[8].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-black" th:text="${re.dammaValueArr[9].substring(3)}"
                                        th:classappend="${re.dammaValueArr[9].substring(0,2)}"></td>


                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[0].substring(3)}"
                                        th:classappend="${re.firstValueArr[0].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[1].substring(3)}"
                                        th:classappend="${re.firstValueArr[1].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[2].substring(3)}"
                                        th:classappend="${re.firstValueArr[2].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[3].substring(3)}"
                                        th:classappend="${re.firstValueArr[3].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[4].substring(3)}"
                                        th:classappend="${re.firstValueArr[4].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[5].substring(3)}"
                                        th:classappend="${re.firstValueArr[5].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[6].substring(3)}"
                                        th:classappend="${re.firstValueArr[6].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[7].substring(3)}"
                                        th:classappend="${re.firstValueArr[7].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[8].substring(3)}"
                                        th:classappend="${re.firstValueArr[8].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-a" th:text="${re.firstValueArr[9].substring(3)}"
                                        th:classappend="${re.firstValueArr[9].substring(0,2)}"></td>

                                    <td class="tb-trend-bg-status" th:text="${re.statusStatArr[0].substring(3)}"
                                        th:classappend="${re.statusStatArr[0].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-status" th:text="${re.statusStatArr[1].substring(3)}"
                                        th:classappend="${re.statusStatArr[1].substring(0,2)}"></td>

                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[0].substring(3)}"
                                        th:classappend="${re.secondValueArr[0].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[1].substring(3)}"
                                        th:classappend="${re.secondValueArr[1].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[2].substring(3)}"
                                        th:classappend="${re.secondValueArr[2].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[3].substring(3)}"
                                        th:classappend="${re.secondValueArr[3].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[4].substring(3)}"
                                        th:classappend="${re.secondValueArr[4].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[5].substring(3)}"
                                        th:classappend="${re.secondValueArr[5].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[6].substring(3)}"
                                        th:classappend="${re.secondValueArr[6].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[7].substring(3)}"
                                        th:classappend="${re.secondValueArr[7].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[8].substring(3)}"
                                        th:classappend="${re.secondValueArr[8].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-b" th:text="${re.secondValueArr[9].substring(3)}"
                                        th:classappend="${re.secondValueArr[9].substring(0,2)}"></td>

                                    <td class="tb-trend-bg-status" th:text="${re.statusStatArr[2].substring(3)}"
                                        th:classappend="${re.statusStatArr[2].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-status" th:text="${re.statusStatArr[3].substring(3)}"
                                        th:classappend="${re.statusStatArr[3].substring(0,2)}"></td>

                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[0].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[0].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[1].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[1].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[2].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[2].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[3].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[3].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[4].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[4].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[5].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[5].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[6].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[6].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[7].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[7].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[8].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[8].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-c" th:text="${re.ThirdValueArr[9].substring(3)}"
                                        th:classappend="${re.ThirdValueArr[9].substring(0,2)}"></td>

                                    <td class="tb-trend-bg-status" th:text="${re.statusStatArr[4].substring(3)}"
                                        th:classappend="${re.statusStatArr[4].substring(0,2)}"></td>
                                    <td class="tb-trend-bg-status" th:text="${re.statusStatArr[5].substring(3)}"
                                        th:classappend="${re.statusStatArr[5].substring(0,2)}"></td>


                                </tr>
                                <!--点击事件-->
                                <tr id="code3ValueTr">
                                    <td>
                                        <button class="btn btn-success" style="padding: 0px 0px;width: 100%;"
                                                id="submit-choose-trend" type="button">提交
                                        </button>
                                    </td>
                                    <td>
                                        <button class="btn btn-danger" style="padding: 0px 0px;width: 100%;"
                                                id="clear-trend" type="button">清
                                        </button>
                                    </td>
                                    <td style="white-space: nowrap;" colspan="2">-->点选</td>

                                    <td class="btn-nums-select danma">0</td>
                                    <td class="btn-nums-select danma">1</td>
                                    <td class="btn-nums-select danma">2</td>
                                    <td class="btn-nums-select danma">3</td>
                                    <td class="btn-nums-select danma">4</td>
                                    <td class="btn-nums-select danma">5</td>
                                    <td class="btn-nums-select danma">6</td>
                                    <td class="btn-nums-select danma">7</td>
                                    <td class="btn-nums-select danma">8</td>
                                    <td class="btn-nums-select danma">9</td>

                                    <td class="btn-nums-select frist">0</td>
                                    <td class="btn-nums-select frist">1</td>
                                    <td class="btn-nums-select frist">2</td>
                                    <td class="btn-nums-select frist">3</td>
                                    <td class="btn-nums-select frist">4</td>
                                    <td class="btn-nums-select frist">5</td>
                                    <td class="btn-nums-select frist">6</td>
                                    <td class="btn-nums-select frist">7</td>
                                    <td class="btn-nums-select frist">8</td>
                                    <td class="btn-nums-select frist">9</td>

                                    <td class="btn-nums-select firstStatus">1</td>
                                    <td class="btn-nums-select firstStatus">2</td>

                                    <td class="btn-nums-select second">0</td>
                                    <td class="btn-nums-select second">1</td>
                                    <td class="btn-nums-select second">2</td>
                                    <td class="btn-nums-select second">3</td>
                                    <td class="btn-nums-select second">4</td>
                                    <td class="btn-nums-select second">5</td>
                                    <td class="btn-nums-select second">6</td>
                                    <td class="btn-nums-select second">7</td>
                                    <td class="btn-nums-select second">8</td>
                                    <td class="btn-nums-select second">9</td>

                                    <td class="btn-nums-select secondStatus">1</td>
                                    <td class="btn-nums-select secondStatus">2</td>

                                    <td class="btn-nums-select third">0</td>
                                    <td class="btn-nums-select third">1</td>
                                    <td class="btn-nums-select third">2</td>
                                    <td class="btn-nums-select third">3</td>
                                    <td class="btn-nums-select third">4</td>
                                    <td class="btn-nums-select third">5</td>
                                    <td class="btn-nums-select third">6</td>
                                    <td class="btn-nums-select third">7</td>
                                    <td class="btn-nums-select third">8</td>
                                    <td class="btn-nums-select third">9</td>

                                    <td class="btn-nums-select thirdStatus">1</td>
                                    <td class="btn-nums-select thirdStatus">2</td>


                                </tr>

                                <!--底部统计 start-->
                                <tr class="stat-bg-color" th:each="stat:${statics}">
                                    <td th:text="${stat[46]}" colspan="4"></td>

                                    <td th:text="${stat[0]}"></td>
                                    <td th:text="${stat[1]}"></td>
                                    <td th:text="${stat[2]}"></td>
                                    <td th:text="${stat[3]}"></td>
                                    <td th:text="${stat[4]}"></td>
                                    <td th:text="${stat[5]}"></td>
                                    <td th:text="${stat[6]}"></td>
                                    <td th:text="${stat[7]}"></td>
                                    <td th:text="${stat[8]}"></td>
                                    <td th:text="${stat[9]}"></td>


                                    <td th:text="${stat[10]}"></td>
                                    <td th:text="${stat[11]}"></td>
                                    <td th:text="${stat[12]}"></td>
                                    <td th:text="${stat[13]}"></td>
                                    <td th:text="${stat[14]}"></td>
                                    <td th:text="${stat[15]}"></td>
                                    <td th:text="${stat[16]}"></td>
                                    <td th:text="${stat[17]}"></td>
                                    <td th:text="${stat[18]}"></td>
                                    <td th:text="${stat[19]}"></td>

                                    <td th:text="${stat[40]}"></td>
                                    <td th:text="${stat[41]}"></td>

                                    <td th:text="${stat[20]}"></td>
                                    <td th:text="${stat[21]}"></td>
                                    <td th:text="${stat[22]}"></td>
                                    <td th:text="${stat[23]}"></td>
                                    <td th:text="${stat[24]}"></td>
                                    <td th:text="${stat[25]}"></td>
                                    <td th:text="${stat[26]}"></td>
                                    <td th:text="${stat[27]}"></td>
                                    <td th:text="${stat[28]}"></td>
                                    <td th:text="${stat[29]}"></td>

                                    <td th:text="${stat[42]}"></td>
                                    <td th:text="${stat[43]}"></td>

                                    <td th:text="${stat[30]}"></td>
                                    <td th:text="${stat[31]}"></td>
                                    <td th:text="${stat[32]}"></td>
                                    <td th:text="${stat[33]}"></td>
                                    <td th:text="${stat[34]}"></td>
                                    <td th:text="${stat[35]}"></td>
                                    <td th:text="${stat[36]}"></td>
                                    <td th:text="${stat[37]}"></td>
                                    å
                                    <td th:text="${stat[38]}"></td>
                                    <td th:text="${stat[39]}"></td>

                                    <td th:text="${stat[44]}"></td>
                                    <td th:text="${stat[45]}"></td>

                                </tr>
                                <!--底部统计 end-->

                                <tr class="head-bg-color">
                                    <td rowspan="2">期号</td>
                                    <td colspan="3" rowspan="2">开奖号码</td>

                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>

                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>

                                    <td colspan="2" rowspan="2">形态<br>统计</td>

                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>

                                    <td colspan="2" rowspan="2">形态<br>统计</td>


                                    <td>0</td>
                                    <td>1</td>
                                    <td>2</td>
                                    <td>3</td>
                                    <td>4</td>
                                    <td>5</td>
                                    <td>6</td>
                                    <td>7</td>
                                    <td>8</td>
                                    <td>9</td>
                                    <td colspan="2" rowspan="2">形态<br>统计</td>

                                </tr>
                                <tr class="head-bg-color">
                                    <td colspan="10">胆码分布</td>
                                    <td colspan="10">第一位代码</td>
                                    <td colspan="10">第二位代码</td>
                                    <td colspan="10">第三位代码</td>
                                </tr>

                            </table>
                        </div>
                        <!--数据表格 &#45;&#45;end-->

                    </div>
                    <!-- 排列5容错-->
                    <div class="fc-table-div-condition">
                        <div class="div-test-select-five">
                            <label>交集容错:</label>
                            <input type="number" id="five-fault-start" min="0" max="9" value="0"/>-
                            <input type="number" id="five-fault-end" min="0" max="9" value="0"/>
                        </div>

                        <div class="table-responsive" id="table-five-div">
                            <table class="table table-bordered table-striped"
                                   id="condition-table-five">

                            </table>
                        </div>

                    </div>
                </div>


            </div>
        </div>
    </div>

</div>

<!--胆码条件修改-->
<div class="modal fade" id="danmaConditionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog num-select">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="danmaLabel">
                    胆码
                </h4>
            </div>
            <div class="modal-body" style="text-align: left;">
                <div>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="5"> 5
                    </label>
                </div>
                <div>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="9"> 9
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="10"> 10
                    </label>
                    <hr/>
                </div>
                <div style="text-align: left;">
                    <span>出次:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="3"> 3
                    </label>

                </div>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" class="btn btn-primary" id="danmaOk">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--排列5胆码-->
<div class="modal fade" id="danmaConditionWinFive" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog num-select">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="danmaLabelFive">
                    胆码
                </h4>
            </div>
            <div class="modal-body" style="text-align: center;">
                <div>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="region" value="9"> 9
                    </label>

                </div>
                <div style="text-align: center;">
                    <span>出次:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="3"> 3
                    </label>

                </div>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" class="btn btn-primary" id="danmaOkFive">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--定位码条件修改-->
<div class="modal fade" id="dingweimaConditionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog num-select">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="dingweimaLabel">
                    定位码
                </h4>
            </div>
            <div class="modal-body" style="text-align: left;">
                <div>
                    <span>第一位:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="9"> 9
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="10"> 10
                    </label>
                </div>
                <div>
                    <span>第二位:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="9"> 9
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="10"> 10
                    </label>
                </div>
                <div>
                    <span>第三位:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="9"> 9
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="10"> 10
                    </label>
                </div>

                <div style="text-align: left;">
                    <span>出次:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="3"> 3
                    </label>

                </div>

            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" class="btn btn-primary" id="dingweimaOk">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>


<!--定位码条件修改-->
<div class="modal fade" id="dingweimaConditionFiveWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog num-select">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="dingweimaFiveLabel">
                    定位码
                </h4>
            </div>
            <div class="modal-body" style="text-align: left;">
                <div>
                    <span>第一位:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="0"> 0
                    </label>

                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="first" value="9"> 9
                    </label>

                </div>
                <div>
                    <span>第二位:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="second" value="9"> 9
                    </label>

                </div>
                <div>
                    <span>第三位:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="3"> 3
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="4"> 4
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="5"> 5
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="6"> 6
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="7"> 7
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="8"> 8
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="third" value="9"> 9
                    </label>

                </div>

                <div style="text-align: left;">
                    <span>出次:&nbsp;&nbsp;</span>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="0"> 0
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="1"> 1
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="2"> 2
                    </label>
                    <label class="checkbox-inline">
                        <input type="checkbox" name="occurs" value="3"> 3
                    </label>

                </div>

            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭
                </button>
                <button type="button" class="btn btn-primary" id="dingweimaFiveOk">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>


<!--龙头凤尾条件修改-->


<div class="modal fade" id="dragonConditionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    龙头凤尾012路
                </h4>
            </div>
            <div class="modal-body">
                <fieldset>
                    <legend>龙头质合</legend>
                    <div class="container-fluid">
                        <div class="row">
                            <div class="col-md-4" style="padding-left: 0px;">
                                <fieldset>
                                    <legend>龙头</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="head_1" name="head" value="1"> 质
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="head_0" name="head" value="0"> 合
                                    </label>
                                </fieldset>
                            </div>
                            <div class="col-md-4" style="padding-left: 0px;">
                                <fieldset>
                                    <legend>凤尾</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="tail_1" name="tail" value="1"> 质
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="tail_0" name="tail" value="0"> 合
                                    </label>
                                </fieldset>
                            </div>
                            <div class="col-md-4" style="padding-left: 0px;">
                                <fieldset>
                                    <legend>出现</legend>
                                    <label class="radio-inline" style="padding-left: 10px;">
                                        <input type="checkbox" name="htoccur" id="htoccur_0" value="0"> 0
                                    </label>
                                    <label class="radio-inline" style="padding-left: 10px;">
                                        <input type="checkbox" name="htoccur" id="htoccur_1" value="1"> 1
                                    </label>
                                    <label class="radio-inline" style="padding-left: 10px;">
                                        <input type="checkbox" name="htoccur" id="htoccur_2" value="2"> 2
                                    </label>
                                </fieldset>
                            </div>
                        </div>
                    </div>
                </fieldset>
                <fieldset>
                    <legend>龙头012路</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="dragonArea" id="dragonArea_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="dragonArea" id="dragonArea_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="dragonArea" id="dragonArea_2" value="2"> 2
                    </label>
                </fieldset>
                <fieldset>
                    <legend>凤尾012路</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="phoenArea" id="phoenArea_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="phoenArea" id="phoenArea_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="phoenArea" id="phoenArea_2" value="2"> 2
                    </label>
                </fieldset>
                <fieldset>
                    <legend>0路个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0_3" value="3"> 3
                    </label>
                </fieldset>
                <fieldset>
                    <legend>1路个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1_3" value="3"> 3
                    </label>
                </fieldset>
                <fieldset>
                    <legend>2路个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2_3" value="3"> 3
                    </label>
                </fieldset>
                <div style="text-align: center;">
                    <span>出现:</span>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_3" value="3"> 3
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_4" value="4"> 4
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_5" value="5"> 5
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occurs_6" value="6"> 6
                    </label>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" class="btn btn-primary" id="dragonOk">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--排列5龙头凤尾-->
<div class="modal fade" id="dragonConditionFiveWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalFiveLabel">
                    龙头凤尾012路
                </h4>
            </div>
            <div class="modal-body">
                <fieldset>
                    <legend>龙头质合</legend>
                    <div class="container-fluid">
                        <div class="row">
                            <div class="col-md-4" style="padding-left: 0px;">
                                <fieldset>
                                    <legend>龙头</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="headFive_1" name="head" value="1"> 质
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="headFive_0" name="head" value="0"> 合
                                    </label>
                                </fieldset>
                            </div>
                            <div class="col-md-4" style="padding-left: 0px;">
                                <fieldset>
                                    <legend>凤尾</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="tailFive_1" name="tail" value="1"> 质
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="tailFive_0" name="tail" value="0"> 合
                                    </label>
                                </fieldset>
                            </div>
                            <div class="col-md-4" style="padding-left: 0px;">
                                <fieldset>
                                    <legend>出现</legend>
                                    <label class="radio-inline" style="padding-left: 10px;">
                                        <input type="checkbox" name="htoccur" id="htoccurFive_0" value="0"> 0
                                    </label>
                                    <label class="radio-inline" style="padding-left: 10px;">
                                        <input type="checkbox" name="htoccur" id="htoccurFive_1" value="1"> 1
                                    </label>
                                    <label class="radio-inline" style="padding-left: 10px;">
                                        <input type="checkbox" name="htoccur" id="htoccurFive_2" value="2"> 2
                                    </label>
                                </fieldset>
                            </div>
                        </div>
                    </div>
                </fieldset>
                <fieldset>
                    <legend>龙头012路</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="dragonArea" id="dragonAreaFive_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="dragonArea" id="dragonAreaFive_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="dragonArea" id="dragonAreaFive_2" value="2"> 2
                    </label>
                </fieldset>
                <fieldset>
                    <legend>凤尾012路</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="phoenArea" id="phoenAreaFive_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="phoenArea" id="phoenAreaFive_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="phoenArea" id="phoenAreaFive_2" value="2"> 2
                    </label>
                </fieldset>
                <fieldset>
                    <legend>0路个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0Five_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0Five_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0Five_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area0" id="area0Five_3" value="3"> 3
                    </label>
                </fieldset>
                <fieldset>
                    <legend>1路个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1Five_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1Five_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1Five_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area1" id="area1Five_3" value="3"> 3
                    </label>
                </fieldset>
                <fieldset>
                    <legend>2路个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2Five_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2Five_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2Five_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="area2" id="area2Five_3" value="3"> 3
                    </label>
                </fieldset>
                <div style="text-align: center;">
                    <span>出现:</span>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_0" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_1" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_2" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_3" value="3"> 3
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_4" value="4"> 4
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_5" value="5"> 5
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" id="occursFive_6" value="6"> 6
                    </label>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" class="btn btn-primary" id="dragonFiveOk">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--和合值条件修改-->

<div class="modal fade" id="sumValueConditionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="sumValueLabel">
                    合值传落
                </h4>
            </div>
            <div class="modal-body">

                <fieldset>
                    <legend>合值</legend>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_0" name="sumValue" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_1" name="sumValue" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_2" name="sumValue" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_3" name="sumValue" value="3"> 3
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_4" name="sumValue" value="4"> 4
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_5" name="sumValue" value="5"> 5
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_6" name="sumValue" value="6"> 6
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_7" name="sumValue" value="7"> 7
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_8" name="sumValue" value="8"> 8
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValue_9" name="sumValue" value="9"> 9
                    </label>

                </fieldset>
                <fieldset>
                    <legend>合值传断</legend>
                    <label class="radio-inline">
                        <input type="checkbox" id="leftPass" name="first" value="0"> 左
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="break1" name="first" value="1"> 断
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="rightPass" name="first" value="2"> 右
                    </label>
                </fieldset>
                <fieldset>
                    <legend>合值断落</legend>
                    <label class="radio-inline">
                        <input type="checkbox" id="break2" name="second" value="0"> 断
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="fall" name="second" value="1"> 落
                    </label>

                </fieldset>


                <div style="text-align: center;">
                    <span>出现:</span>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValueOccur_0" name="occurs" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValueOccur_1" name="occurs" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValueOccur_2" name="occurs" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="sumValueOccur_3" name="occurs" value="3"> 3
                    </label>

                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" id="sumValueOk" class="btn btn-primary">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--边临走势    -->
<div class="modal fade" id="borderConditionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="borderLabel">
                    边临传断
                </h4>
            </div>
            <div class="modal-body">
                <fieldset>
                    <legend>最大临码</legend>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_1" name="maxIntervals" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_2" name="maxIntervals" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_3" name="maxIntervals" value="3"> 3
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_4" name="maxIntervals" value="4"> 4
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_5" name="maxIntervals" value="5"> 5
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_6" name="maxIntervals" value="6"> 6
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_7" name="maxIntervals" value="7"> 7
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="maxInterval_8" name="maxIntervals" value="8"> 8
                    </label>

                </fieldset>
                <div class=".container-fluid">

                    <div class="row">
                        <div class="col-md-7">
                            <fieldset>
                                <legend>边临和传断,断落</legend>
                                <fieldset>
                                    <legend>边临和</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="borderSums_5" name="borderSums" value="5"> 5
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="borderSums_6" name="borderSums" value="6"> 6
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="borderSums_7" name="borderSums" value="7"> 7
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="borderSums_8" name="borderSums" value="8"> 8
                                    </label>
                                </fieldset>
                                <fieldset>
                                    <legend>传断</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="leftPassBorder" name="first" value="left"> 左
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="break1Border" name="first" value="break1"> 断
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="rightPassBorder" name="first" value="right"> 右
                                    </label>
                                </fieldset>
                                <fieldset>
                                    <legend>合值断落</legend>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="break2Border" name="second" value="break2"> 断
                                    </label>
                                    <label class="radio-inline">
                                        <input type="checkbox" id="fallBorder" name="second" value="fall"> 落
                                    </label>
                                </fieldset>
                            </fieldset>
                        </div>
                        <div class="col-md-5">
                            <div style="margin-top: 50%;">
                                <span>出现:</span>
                                <label class="radio-inline">
                                    <input type="checkbox" id="mixOccur_0" name="mixOccur" value="0"> 0
                                </label>
                                <label class="radio-inline">
                                    <input type="checkbox" id="mixOccur_1" name="mixOccur" value="1"> 1
                                </label>
                                <label class="radio-inline">
                                    <input type="checkbox" id="mixOccur_2" name="mixOccur" value="2"> 2
                                </label>
                            </div>

                        </div>
                    </div>

                </div>

                <fieldset>
                    <legend>反边球</legend>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_0" name="distances" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_1" name="distances" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_2" name="distances" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_3" name="distances" value="3"> 3
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_4" name="distances" value="4"> 4
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_5" name="distances" value="5"> 5
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_6" name="distances" value="6"> 6
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="distances_7" name="distances" value="7"> 7
                    </label>

                </fieldset>

                <div style="text-align: center;">
                    <span>出现:</span>
                    <label class="radio-inline">
                        <input type="checkbox" id="borderOccur_0" name="occurs" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="borderOccur_1" name="occurs" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="borderOccur_2" name="occurs" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="borderOccur_3" name="occurs" value="3"> 3
                    </label>

                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" id="borderValueOk" class="btn btn-primary">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--跨度传落-->


<!--代码3条件修改-->
<div class="modal fade" id="code3ConditionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="code3Label">
                    代码3走势
                </h4>
            </div>
            <div class="modal-body">
                <input type="hidden" id="codeType"/>
                <fieldset>
                    <legend>第一位</legend>
                    <div>
                        <label class="radio-inline" id="firstLabel0">
                            <input type="checkbox" id="firstValue_0" name="firstValue" value="0"> 0
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_1" name="firstValue" value="1"> 1
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_2" name="firstValue" value="2"> 2
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_3" name="firstValue" value="3"> 3
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_4" name="firstValue" value="4"> 4
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_5" name="firstValue" value="5"> 5
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_6" name="firstValue" value="6"> 6
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_7" name="firstValue" value="7"> 7
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_8" name="firstValue" value="8"> 8
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstValue_9" name="firstValue" value="9"> 9
                        </label>
                        <label class="radio-inline" id="firstLabel10">
                            <input type="checkbox" id="firstValue_10" name="firstValue" value="10"> 10
                        </label>
                    </div>
                    <div style="text-align:center;">
                        <span>出:</span>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_0" name="firstOccur" value="0"> 0
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_1" name="firstOccur" value="1"> 1
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_2" name="firstOccur" value="2"> 2
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_3" name="firstOccur" value="3"> 3
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_4" name="firstOccur" value="4"> 4
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_5" name="firstOccur" value="5"> 5
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_6" name="firstOccur" value="6"> 6
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_7" name="firstOccur" value="9"> 7
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="firstOccur_8" name="firstOccur" value="8"> 8
                        </label>
                    </div>
                </fieldset>

                <fieldset>
                    <legend>第二位</legend>
                    <div>
                        <label class="radio-inline" id="secondLabel0">
                            <input type="checkbox" id="secondValue_0" name="secondValue" value="0"> 0
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_1" name="secondValue" value="1"> 1
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_2" name="secondValue" value="2"> 2
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_3" name="secondValue" value="3"> 3
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_4" name="secondValue" value="4"> 4
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_5" name="secondValue" value="5"> 5
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_6" name="secondValue" value="6"> 6
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_7" name="secondValue" value="7"> 7
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_8" name="secondValue" value="8"> 8
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondValue_9" name="secondValue" value="9"> 9
                        </label>
                        <label class="radio-inline" id="secondLabel10">
                            <input type="checkbox" id="secondValue_10" name="secondValue" value="10"> 10
                        </label>
                    </div>
                    <div style="text-align:center;">
                        <span>出:</span>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_0" name="secondOccur" value="0"> 0
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_1" name="secondOccur" value="1"> 1
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_2" name="secondOccur" value="2"> 2
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_3" name="secondOccur" value="3"> 3
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_4" name="secondOccur" value="4"> 4
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_5" name="secondOccur" value="5"> 5
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_6" name="secondOccur" value="6"> 6
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_7" name="secondOccur" value="9"> 7
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="secondOccur_8" name="secondOccur" value="8"> 8
                        </label>
                    </div>
                </fieldset>

                <fieldset>
                    <legend>第三位</legend>
                    <div>

                        <label class="radio-inline" id="thirdLabel0">
                            <input type="checkbox" id="thirdValue_0" name="thirdValue" value="0"> 0
                        </label>

                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_1" name="thirdValue" value="1"> 1
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_2" name="thirdValue" value="2"> 2
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_3" name="thirdValue" value="3"> 3
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_4" name="thirdValue" value="4"> 4
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_5" name="thirdValue" value="5"> 5
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_6" name="thirdValue" value="6"> 6
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_7" name="thirdValue" value="7"> 7
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_8" name="thirdValue" value="8"> 8
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdValue_9" name="thirdValue" value="9"> 9
                        </label>
                        <label class="radio-inline" id="thirdLabel10">
                            <input type="checkbox" id="thirdValue_10" name="thirdValue" value="10"> 10
                        </label>
                    </div>
                    <div style="text-align:center;">
                        <span>出:</span>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_0" name="thirdOccur" value="0"> 0
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_1" name="thirdOccur" value="1"> 1
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_2" name="thirdOccur" value="2"> 2
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_3" name="thirdOccur" value="3"> 3
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_4" name="thirdOccur" value="4"> 4
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_5" name="thirdOccur" value="5"> 5
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_6" name="thirdOccur" value="6"> 6
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_7" name="thirdOccur" value="9"> 7
                        </label>
                        <label class="radio-inline">
                            <input type="checkbox" id="thirdOccur_8" name="thirdOccur" value="8"> 8
                        </label>
                    </div>
                </fieldset>

                <div style="text-align: center;">
                    <span>出现:</span>
                    <label class="radio-inline">
                        <input type="checkbox" id="code3Occur_0" name="code3Occur" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="code3Occur_1" name="code3Occur" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="code3Occur_2" name="code3Occur" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" id="code3Occur_3" name="code3Occur" value="3"> 3
                    </label>

                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" id="code3ValueOk" class="btn btn-primary">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>


<!--代码3条件修改-->
<div class="modal fade" id="addUsertionWin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="addUserLabel">
                    新增用户
                </h4>
            </div>
            <div class="modal-body">
                <form>
                    <div class="form-group">
                        <label for="user_name">用户名</label>
                        <input type="hidden" class="form-control"
                               th:value="${curuser.id}" id="user_id">
                        <input type="text" readonly class="form-control"
                               th:value="${curuser.loginName}" id="user_name">
                    </div>
                    <div class="form-group" id="nickNameDiv">
                        <label for="nick_name">昵称</label>
                        <input type="text" class="form-control" id="nick_name">
                    </div>
                    <div class="form-group" id="oldPassDiv">
                        <label for="password_old">旧密码</label>
                        <input type="password" class="form-control" id="password_old">
                    </div>
                    <div class="form-group">
                        <label for="password_new">新密码</label>
                        <input type="password" class="form-control" id="password_new">
                    </div>
                    <div class="form-group">
                        <label for="password_new_confirm">新密码确认</label>
                        <input type="password" class="form-control" id="password_new_confirm">
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" id="addUserOk" class="btn btn-primary">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<!--管理用户modal-->
<!-- 模态框（Modal） -->
<div class="modal fade" id="userManageModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h4 class="modal-title" id="userManageLabel">用户管理</h4>
            </div>
            <div class="modal-body">
                <table id="mytable"></table>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <!--<button type="button" class="btn btn-primary">提交更改</button>-->
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal  bootstrap-table-zh-CN.js-->
</div>

<!--passConditionWinFive  连隔传断-->
<div class="modal fade" id="passConditionWinFive" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
     aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">
                    连传隔落
                </h4>
            </div>
            <div class="modal-body">

                <fieldset>
                    <legend>连号个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="continu" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="continu" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="continu" value="2"> 2
                    </label>
                </fieldset>
                <fieldset>
                    <legend>传码个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="passVal" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="passVal" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="passVal" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="passVal" value="3"> 3
                    </label>
                </fieldset>
                <fieldset>
                    <legend>隔码个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="partiVal" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="partiVal" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="partiVal" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="partiVal" value="3"> 3
                    </label>
                </fieldset>
                <fieldset>
                    <legend>落码个数</legend>
                    <label class="radio-inline">
                        <input type="checkbox" name="fallVal" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="fallVal" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="fallVal" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="fallVal" value="3"> 3
                    </label>
                </fieldset>

                <div style="text-align: center;">
                    <span>出现:</span>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" value="0"> 0
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" value="1"> 1
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" value="2"> 2
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" value="3"> 3
                    </label>
                    <label class="radio-inline">
                        <input type="checkbox" name="occurs" value="4"> 4
                    </label>

                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消
                </button>
                <button type="button" class="btn btn-primary" id="passValOk">
                    确定
                </button>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<script type="text/javascript" th:src="@{/static/layui/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/static/layui/layui.js}"></script>
<script type="text/javascript" th:src="@{/static/layui/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/static/layui/bootstrap-table.js}"></script>
<script type="text/javascript" th:src="@{/static/layui/bootstrap-table-zh-CN.js}"></script>
<script type="text/javascript" th:src="@{/static/tool/clipboard.min.js}"></script>
<script type="text/javascript" th:src="@{/static/admin/js/leftNav.js}"></script>
<script src="https://cdn.bootcss.com/multiple-select/1.2.0/multiple-select.min.js"></script>

<script type="text/javascript" th:src="@{/static/admin/js/index.js}"></script>

<script th:inline="javascript">

    var ipAndPort = "47.105.60.4:8080";
    //  ipAndPort="localhost:8080";
    /**
     * websocket  --start
     */

    var websocket = null;

    var userId = "userId-" + [[${curuser.id}]] + "index";
    //document.getElementById("userId").value=userId;
    //判断当前浏览器是否支持WebSocket
    if ('WebSocket' in window) {
        //连接WebSocket节点
        websocket = new WebSocket("ws://" + ipAndPort + "/productWebSocket/" + userId);
    } else {
        alert('Not support websocket')
    }


    //连接发生错误的回调方法
    websocket.onerror = function () {
        setMessageInnerHTML("error");
    };


    //连接成功建立的回调方法
    websocket.onopen = function (event) {
        console.log("open");
    }


    //接收到消息的回调方法
    websocket.onmessage = function (event) {
        setMessageInnerHTML(event.data);
    }


    //连接关闭的回调方法
    websocket.onclose = function () {
        setMessageInnerHTML("close");
    }


    //监听窗口关闭事件，当窗口关闭时，主动去关闭websocket连接，防止连接还没断开就关闭窗口，server端会抛异常。
    window.onbeforeunload = function () {
        websocket.close();
    }


    //将消息显示在网页上
    function setMessageInnerHTML(msg) {
        if (msg != null && msg.length > 0 && msg.substr(0, 1) == '{') {
            var prizeData = JSON.parse(msg);
            location.reload();
            layer.msg('福彩3d开奖数据已更新');
        }


    }


    //关闭连接
    function closeWebSocket() {
        websocket.close();
    }


    //发送消息
    function send() {
        var message = document.getElementById('text').value;
        websocket.send(message);
    }

    /**
     * websocket  --end
     */


</script>


</body>
</html>
